package com.cmower.dzone.ToBeBetterDeveloper;

public class Java8 {
    public static void main(String[] args) {
Thread t = new Thread(new Runnable() {
    @Override
    public void run() {
        System.out.println("Java 8 之前");
    }
});
t.start();

Thread t1 = new Thread(() -> {
    System.out.println("Java 8");
});
t.start();
    }
}
